Using PHP Redirect Script together with Custom Fields (WordPress)? [on hold]

Posted by Alex Scherer on Pro Webmasters See other posts from Pro Webmasters or by Alex Scherer
Published on 2013-07-03T16:40:51Z Indexed on 2013/07/03 17:19 UTC
Read the original article Hit count: 276

I am currently trying to make yoast's link cloaking script ( Yoast.com script manual // Github Script files ) work together with the Wordpress plugin Advanced Custom Fields.

The script fetches 2 values (redirect id, redirect url) via GET and then redirects to this particular URL which is defined in a .txt file called redirects.txt

I would like to change the script, so that I can define both the id and redirection URL via custom fields on each post in my WP dashboard..

I would be really happy if someone could help me to code something that does the same as the script above but without using a redirects.txt file to save the values but furthermore gets those values from custom fields.

Best regards !

Alex

© Pro Webmasters or respective owner

Related posts about Wordpress

Related posts about redirects